#!/bin/bash

# adduser  [-u uid [-o]] [-g group] [-G group,...]
# [-d home] [-s shell] [-c comment] [-m [-k template]]
# [-f inactive] [-e expire mm/dd/yy] [-p passwd] [-n] [-r] name
# adduser  -D [-g group] [-b base] [-s shell] [-f inactive] [-e expire mm/dd/yy]

echo ==========================================================================
echo users/pwds
cat /etc/passwd
echo ==========================================================================
echo groups
cat /etc/group
echo ==========================================================================
useradd -G root --password getafisk getafisk
# passwd

echo ==========================================================================
# passwd --delete getafisk
# userdel getafisk
# rm -fr /home/getafisk
# rm -fr /var/spool/mail/getafisk
